import React from 'react'
import { Form, Button, Row, Col, DatePicker, Input, Cascader, Switch } from 'antd'

const Filter = ({
  onAdd,
}) => {
  return (
    <Row gutter={24}>

      <Col style={{marginBottom:10}} xl={{ span: 10 }} md={{ span: 24 }} sm={{ span: 24 }}>
        <Button size="large" type="ghost" onClick={onAdd}>新增</Button>
      </Col>
    </Row>
  )
}

export default Filter
